#pragma once

//#include "sdl/sdl.h"
//#include "sdl/sdl_ttf.h"
#include <iostream>
#include <ctime>
#include <windows.h>
#include <string> 

using namespace std;

class Map
{
private:
	//===surfaces used for images===============
	//SDL_Surface *ThenTheNAMEofTheSURFACE;
	int m_width;
	int m_height;
	char ** m_map;

	//=== map-only load_image and apply_surface
	//SDL_Surface *load_image( std::string filename );
	//void apply_surface(int x, int y,SDL_Surface* source, SDL_Surface* destination, SDL_Rect *clip);
public:
	//int mapState;
	//map::map();
	//map::~map();

	Map();
	~Map();
	//SDL_Surface * LoadImage( std::string filename );
	
	//=======DRAW FUNCTIONS HANDLED IN THE mapImage.cpp FILE===============
	//void map::draw(SDL_Surface * screen, Game * g);
	//void map::loadImages(void);
	//void map::initializeImages(void);
	//void map::shutdownImages(void);
	
	//========HANDLE INPUTS, ALL IN THE mapInput.cpp FILE================
	//void map::handleInput(SDL_Event e, Game * g);
	//void map::handleInput_BEGINTURN(SDL_Event e, Game * g);
	//void map::handleInput_MAP(SDL_Event e, Game * g);

	//=======MAP TTFs====================
	//TTF_Font *font;
	//SDL_Color textColor;

	/////////////////////////////////
	void load(char * a_filename);
	int getWidth();
	int getHeight();
	char getAt(int a_x, int a_y);
	char setAt(int a_x, int a_y, char a_c);
};


